Skip to content

Conversation

@kewynakshlley
Copy link
Collaborator

@kewynakshlley kewynakshlley commented Sep 18, 2025

Summary by cubic

Adds permissive batch validation to allow partial success with detailed errors, and enables custom request headers via RequestOptions. Updates Batch API and response models to support both strict and permissive modes.

  • New Features
    • Introduced AbstractBatchEmailsResponse as a base; CreateBatchEmailsResponse;
    • added BatchError model.
    • RequestOptions now supports additional headers (add, addAll, getAdditionalHeaders); HttpClient forwards them.

Copy link

@pedro-stramantinoli pedro-stramantinoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kewynakshlley kewynakshlley merged commit c7859dc into main Oct 20, 2025
3 checks passed
@kewynakshlley kewynakshlley deleted the feat/batch-validation branch October 20, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants